<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Category_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-category_id" data-rule="required" data-source="category/selectpage" data-params='{"custom[type]":"shop"}' class="form-control selectpage" name="row[category_id]" type="text" value="{$row.category_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_name" data-rule="required" class="form-control" name="row[shop_name]" type="text" value="{$row.shop_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" data-rule="required" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Full_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-full_address" data-rule="required" class="form-control" name="row[full_address]" type="text" value="{$row.full_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lat" data-rule="required" class="form-control" name="row[lat]" type="text" value="{$row.lat|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lng" data-rule="required" class="form-control" name="row[lng]" type="text" value="{$row.lng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Commission_rate')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-commission_rate" data-rule="required" class="form-control" step="0.01" name="row[commission_rate]" type="number" value="{$row.commission_rate|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Collection_code_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-collection_code_number" data-rule="required" class="form-control" name="row[collection_code_number]" type="text" value="{$row.collection_code_number|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Start_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-start_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[start_time]" type="text" value="{:$row.start_time?datetime($row.start_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('End_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-end_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[end_time]" type="text" value="{:$row.end_time?datetime($row.end_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Work_week')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-work_week" data-rule="required" class="form-control" name="row[work_week]" type="text" value="{$row.work_week|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Banner_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-banner_img" data-rule="required" class="form-control" name="row[banner_img]" type="text" value="{$row.banner_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Interior_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-interior_img" data-rule="required" class="form-control" name="row[interior_img]" type="text" value="{$row.interior_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Group_photo_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-group_photo_img" data-rule="required" class="form-control" name="row[group_photo_img]" type="text" value="{$row.group_photo_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-realname" data-rule="required" class="form-control" name="row[realname]" type="text" value="{$row.realname|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" data-rule="required" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Email')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-email" data-rule="required" class="form-control" name="row[email]" type="text" value="{$row.email|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Subject_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-subject_type" data-rule="required" class="form-control" name="row[subject_type]" type="text" value="{$row.subject_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_license_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_license_img" data-rule="required" class="form-control" name="row[business_license_img]" type="text" value="{$row.business_license_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_license_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_license_num" data-rule="required" class="form-control" name="row[business_license_num]" type="text" value="{$row.business_license_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Body_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-body_name" data-rule="required" class="form-control" name="row[body_name]" type="text" value="{$row.body_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Front_id_card_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-front_id_card_img" data-rule="required" class="form-control" name="row[front_id_card_img]" type="text" value="{$row.front_id_card_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reverse_id_card_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reverse_id_card_img" data-rule="required" class="form-control" name="row[reverse_id_card_img]" type="text" value="{$row.reverse_id_card_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card_name" data-rule="required" class="form-control" name="row[id_card_name]" type="text" value="{$row.id_card_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card_num" data-rule="required" class="form-control" name="row[id_card_num]" type="text" value="{$row.id_card_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Id_card_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-id_card_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[id_card_time]" type="text" value="{:$row.id_card_time?datetime($row.id_card_time):''}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Legal_person_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-legal_person_phone" data-rule="required" class="form-control" name="row[legal_person_phone]" type="text" value="{$row.legal_person_phone|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Signature_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-signature_img" data-rule="required" class="form-control" name="row[signature_img]" type="text" value="{$row.signature_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_type" data-rule="required" class="form-control" name="row[bank_type]" type="text" value="{$row.bank_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_img" data-rule="required" class="form-control" name="row[bank_img]" type="text" value="{$row.bank_img|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_num" data-rule="required" class="form-control" name="row[bank_num]" type="text" value="{$row.bank_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank_account_person')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank_account_person" data-rule="required" class="form-control" name="row[bank_account_person]" type="text" value="{$row.bank_account_person|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bank')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bank" data-rule="required" class="form-control" name="row[bank]" type="text" value="{$row.bank|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Alipay_signing_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-alipay_signing_account" data-rule="required" class="form-control" name="row[alipay_signing_account]" type="text" value="{$row.alipay_signing_account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wechat_signing_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wechat_signing_account" data-rule="required" class="form-control" name="row[wechat_signing_account]" type="text" value="{$row.wechat_signing_account|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-username" data-rule="required" class="form-control" name="row[username]" type="text" value="{$row.username|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
